﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Roslyn.Compilers.CSharp;

namespace RoslynHelper
{
    public static class EventFieldDeclaration
    {
        public static EventFieldDeclarationSyntax DefineModifiers(this EventFieldDeclarationSyntax eventFieldDeclarationSyntax, SyntaxTokenList modifiers)
        {
            return Syntax.EventFieldDeclaration(eventFieldDeclarationSyntax.Attributes, modifiers, eventFieldDeclarationSyntax.EventKeyword, eventFieldDeclarationSyntax.Declaration, eventFieldDeclarationSyntax.SemicolonToken);
        }
    }
}
